package com.ixoko.swagger.constant;

/**
 * 常量类
 *
 * @author wuxj
 */
public interface GlobalDicConstant {

	/**
	 * 删除状态
	 *
	 * @author wuxj
	 */
	final class GLOBAL_IS_DELETE {
		public static final String CODE = "GLOBAL_IS_DELETE";
		public static final Byte WSC = 0;//未删除
		public static final Byte YSC = 1;//已删除
	}

	/**
	 * 启动状态
	 *
	 * @author wuxj
	 */
	final class GLOBAL_IS_ENABLE {
		public static final String CODE = "GLOBAL_IS_ENABLE";
		public static final Byte WQY = 0;//未启用
		public static final Byte YQY = 1;//已启用
	}

	/**
	 * 性别状态
	 *
	 * @author wuxj
	 */
	final class GLOBAL_SEX {
		public static final String CODE = "GLOBAL_SEX";
		public static final Byte MAN = 0;//男
		public static final Byte WOMAN = 1;//女
	}

	/**
	 * 婚姻状态
	 */
	final class GLOBAL_MARITAL {
		public static final String CODE = "GLOBAL_MARITAL";
		public static final Byte NO = 0;//未婚
		public static final Byte YES = 1;//已婚
	}

	/**
	 * 是否超级管理员
	 *
	 * @author wuxj
	 */
	final class SYS_USER_IS_SUPER {
		public static final String CODE = "USER_IS_SUPER";
		public static final Byte CJ = 1;//超级管理员
		public static final Byte PT = 2;//普通管理员
	}

	/**
	 * 是否超级角色
	 *
	 * @author wuxj
	 */
	final class SYS_ROLE_IS_SUPER {
		public static final String CODE = "SYS_ROLE_IS_SUPER";
		public static final Byte CJ = 1;//超级角色
		public static final Byte PT = 2;//普通角色
	}

	/**
	 * 菜单是否链接类型
	 *
	 * @author wuxj
	 */
	final class SYS_MENU_ISLEAF {
		public static final String CODE = "SYS_MENU_ISLEAF";
		public static final Byte NO = 1;//否
		public static final Byte YES = 2;//是
	}

	/**
	 * 菜单是否链接类型
	 *
	 * @author wuxj
	 */
	final class SYS_MENU_LEVEL {
		public static final String CODE = "SYS_MENU_LEVEL";
		public static final Byte ONE = 1;//一级
		public static final Byte TWO = 2;//二级
		public static final Byte THREE = 3;//三级
	}

	/**
	 * 菜单设置权限 类型Treeview
	 *
	 * @author wuxj
	 */
	final class SYS_TREEVIEW_TYPE {
		public static final String CODE = "SYS_TREEVIEW_TYPE";
		public static final Byte BUTTON = 1;//按钮
		public static final Byte MENU = 2;//菜单
	}

	/**
	 * 管理员状态
	 *
	 * @author wuxj
	 */
	final class SYS_USER_STATUS {
		public static final String CODE = "SYS_USER_STATUS";
		public static final Byte ZC = 1;//正常
		public static final Byte XZDL = 2;//限制登录
	}
}
